<?php
/**
 * @user: tom
 * @date: 2021/5/17
 * @createTime: 14:37
 * @company: 迈酷网络科技 http://www.maicooit.com
 */
namespace app\admin\logic\user;

use app\BaseController;
use app\admin\model\User as UserModel;

class User extends  BaseController {
    //根据用户id获取
    //用户列表
    public static function UserListLogic($key,$domain,$page,$pagesize){
        $user = new UserModel();
        $list = $user->UserListModel($key,$domain,$page,$pagesize);
        return $list;
    }
    //用户新增
    public static function UserAddLogic($info){
        $user = new UserModel();
        $res = $user->UserInsertModel($info);
        return $res;
    }
    //用户编辑
    public static function UserSaveLogic(){
    }
    //用户禁用
    public static function UserDisableEableLogic(){
    }
    //用户删除
    public static function UserDelLogic(){
    }

}
?>